﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ProgramDataSet" targetNamespace="http://tempuri.org/ProgramDataSet.xsd" xmlns:mstns="http://tempuri.org/ProgramDataSet.xsd" xmlns="http://tempuri.org/ProgramDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="templateConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="templateConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Big3.Hitbase.DataBaseEngine.Properties.Settings.GlobalReference.Default.templateConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProgramTableAdapter" GeneratorDataComponentClassName="ProgramTableAdapter" Name="Program" UserDataComponentName="ProgramTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="templateConnectionString (Settings)" DbObjectName="Program" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Program] ([CDID], [Name], [Tracks], [IsStandard]) VALUES (@p1, @p2, @p3, @p4)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CDID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tracks" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsStandard" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [CDID], [Name], [Tracks], [IsStandard] FROM [Program]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CDID" DataSetColumn="CDID" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Tracks" DataSetColumn="Tracks" />
              <Mapping SourceColumn="IsStandard" DataSetColumn="IsStandard" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="templateConnectionString (Settings)" DbObjectName="Program" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCdId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCdId" GeneratorSourceName="FillByCdId" GetMethodModifier="Public" GetMethodName="GetDataByCdId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCdId" UserSourceName="FillByCdId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [CDID], [Name], [Tracks], [IsStandard] FROM [Program] WHERE [CDID]=?</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Param1" ColumnName="CDID" DataSourceName="Program" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Param1" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CDID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ProgramDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="ProgramDataSet" msprop:Generator_DataSetName="ProgramDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Program" msprop:Generator_UserTableName="Program" msprop:Generator_RowDeletedName="ProgramRowDeleted" msprop:Generator_RowChangedName="ProgramRowChanged" msprop:Generator_RowClassName="ProgramRow" msprop:Generator_RowChangingName="ProgramRowChanging" msprop:Generator_RowEvArgName="ProgramRowChangeEvent" msprop:Generator_RowEvHandlerName="ProgramRowChangeEventHandler" msprop:Generator_TableClassName="ProgramDataTable" msprop:Generator_TableVarName="tableProgram" msprop:Generator_RowDeletingName="ProgramRowDeleting" msprop:Generator_TablePropName="Program">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CDID" msprop:Generator_UserColumnName="CDID" msprop:Generator_ColumnVarNameInTable="columnCDID" msprop:Generator_ColumnPropNameInRow="CDID" msprop:Generator_ColumnPropNameInTable="CDIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Tracks" msprop:Generator_UserColumnName="Tracks" msprop:Generator_ColumnVarNameInTable="columnTracks" msprop:Generator_ColumnPropNameInRow="Tracks" msprop:Generator_ColumnPropNameInTable="TracksColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsStandard" msprop:Generator_UserColumnName="IsStandard" msprop:Generator_ColumnVarNameInTable="columnIsStandard" msprop:Generator_ColumnPropNameInRow="IsStandard" msprop:Generator_ColumnPropNameInTable="IsStandardColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>